export default {
  methods: {
    statusToString: function (status) {
      switch (status) {
        case 0: return '正在审核'
        case 1: return '通过审核'
        case 2: return '拒绝审核'
        default: return ''
      }
    },
    gradeTypeToString: function (gradeType) {
      switch (gradeType) {
        case 0: return '综合'
        case 1: return '小学'
        case 2: return '初中'
        case 3: return '高中'
        default: return '综合'
      }
    },
    inFirstToString: function (inFirst) {
      return inFirst === 1 ? '是' : '否'
    }
  }
}
